package com.bioroadlab.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.bioroadlab.pojo.DiseaseCategory;

@Service
@Transactional
public class DiseaseCategoryService extends BaseService {

	public void updateDiseaseCategory(DiseaseCategory diseaseCategory) {

		getDiseaseCategoryDao().updateDiseaseCategory(diseaseCategory);

	}

	public void saveDiseaseCategory(DiseaseCategory diseaseCategory) {
		getDiseaseCategoryDao().save(diseaseCategory);
	}

	public List<DiseaseCategory> findAll() {
		return getDiseaseCategoryDao().findAll();

	}

}
